package com.knowledgeqa.system.exception;

import com.knowledgeqa.system.common.ResultCode;

/**
 * 权限不足异常
 * 用于处理用户没有足够权限执行某个操作的情况
 */
public class ForbiddenException extends BusinessException {

    public ForbiddenException() {
        super(ResultCode.FORBIDDEN);
    }

    public ForbiddenException(String message) {
        super(ResultCode.FORBIDDEN.getCode(), message);
    }

    public ForbiddenException(String message, Throwable cause) {
        super(ResultCode.FORBIDDEN.getCode(), message, cause);
    }
}